using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace MicroMsg.UI.UserContrl
{
	public class ArtEmojiButton : Button
	{
		public static DependencyProperty TextProperty = DependencyProperty.Register("Text", typeof(string), typeof(ArtEmojiButton), new PropertyMetadata("", null));
		public static DependencyProperty ArtImgSourceProperty = DependencyProperty.Register("ArtImgSource", typeof(ImageSource), typeof(ArtEmojiButton), new PropertyMetadata(null, null));
		public static readonly DependencyProperty ImgWProperty = DependencyProperty.Register("ImgW", typeof(double), typeof(ArtEmojiButton), new PropertyMetadata(40.0, null));
		public static readonly DependencyProperty ImgHProperty = DependencyProperty.Register("ImgH", typeof(double), typeof(ArtEmojiButton), new PropertyMetadata(40.0, null));
		private bool _contentLoaded;
		public string Text
		{
			get
			{
				return (string)base.GetValue(ArtEmojiButton.TextProperty);
			}
			set
			{
				base.SetValue(ArtEmojiButton.TextProperty, value);
			}
		}
		public ImageSource ArtImgSource
		{
			get
			{
				return (ImageSource)base.GetValue(ArtEmojiButton.ArtImgSourceProperty);
			}
			set
			{
				base.SetValue(ArtEmojiButton.ArtImgSourceProperty, value);
			}
		}
		public double ImgW
		{
			get
			{
				return (double)base.GetValue(ArtEmojiButton.ImgWProperty);
			}
			set
			{
				base.SetValue(ArtEmojiButton.ImgWProperty, value);
			}
		}
		public double ImgH
		{
			get
			{
				return (double)base.GetValue(ArtEmojiButton.ImgHProperty);
			}
			set
			{
				base.SetValue(ArtEmojiButton.ImgHProperty, value);
			}
		}
		public ArtEmojiButton()
		{
			this.InitializeComponent();
		}
		[DebuggerNonUserCode]
		public void InitializeComponent()
		{
			if (this._contentLoaded)
			{
				return;
			}
			this._contentLoaded = true;
			Application.LoadComponent(this, new Uri("/MicroMsg;component/Source/UI/Chat/Emoji/ArtEmojiButton.xaml", 2));
		}
	}
}
